package com.rany.day06.demo07;

import java.util.ArrayList;

public class demo02 {
    public static void main(String[] args) {
        //自动装箱
        Integer a = 3;

        ArrayList<Integer> list = new ArrayList<>();
        list.add(2);
        list.add(3);
        //自动拆箱
        int  integer = list.get(0);
    }

}
